﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Xml.Serialization;

namespace PSE.Framework.Communication.Adapters.File.XmlFile
{
    public class XmlFileOpenParameter : FileOpenParameter
    {
        public XmlFileOpenParameter()
            : base()
        {
        }

        public XmlFileOpenParameter(string path, string fileName)
            : base(path, fileName)
        {
        }

        internal XmlFileOpenParameter(FileOpenParameter parameter)
            : base(parameter)
        {
        }

        private string _root = null;
        public string Root
        {
            get { return _root; }
            set { _root = value; }
        }

        private string _transformFile = null;
        public string TransformFile
        {
            get { return _transformFile; }
            set { _transformFile = value; }
        }

        private string _transformPath = null;
        public string TransformPath
        {
            get { return _transformPath; }
            set { _transformPath = value; }
        }

        private string _encoding = null;
        public string Encoding
        {
            get { return _encoding; }
            set { _encoding = value; }
        }

        private XmlSerializerNamespaces _namespaces = new XmlSerializerNamespaces();
        public XmlSerializerNamespaces Namespaces
        {
            get { return _namespaces; }
        }
    }
}
